diff --git a/sites/all/modules/contrib/token/token.module b/sites/all/modules/contrib/token/token.module
--- token.module
+++ token.module
@@ -17,6 +17,9 @@
     'token_help' => array(
       'arguments' => array('type' => 'all', 'prefix' => '[', 'suffix' => ']')
     ),
+    'token_list' => array(
+      'arguments' => array('token_list' => array(), 'prefix' => '[', 'suffix' => ']')
+    ),
   );
 }
 
@@ -37,9 +40,14 @@
   token_include();
   $full_list = token_get_list($types);
 
+  $output = theme('token_list', $full_list, $prefix, $suffix);
+  return $output;
+}
+
+function theme_token_list($token_list, $prefix = '[', $suffix = ']') {
   $headers = array(t('Token'), t('Replacement value'));
   $rows = array();
-  foreach ($full_list as $key => $category) {
+  foreach ($token_list as $key => $category) {
     $rows[] = array(array('data' => drupal_ucfirst($key) .' '. t('tokens'), 'class' => 'region', 'colspan' => 2));
     foreach ($category as $token => $description) {
       $row = array();
